package com.ainiyar.springweb.pojo.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

/**************************************
 * File Name : RolePermission
 * Created with : IntelliJ IDEA.
 * Author : 艾尼亚尔·毛拉吾提
 * QQ : 524155792  WeChat : ainiyar0124
 * Created Time : 2024/2/5  01:04
 * Desc :角色权限 实体类
 ***************************************/
@Data
@Table("sw_role_permission")
public class RolePermission {
    @Id(keyType = KeyType.Auto)
    private Long id;
    private Long roleId;//角色id
    private Long permissionId;//菜单权限id
}

